package com.demo.demospringbootstarter.service.impl;

import com.demo.demospringbootstarter.entity.DemoProperties;
import com.demo.demospringbootstarter.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TestServiceImpl implements TestService {

    @Autowired
    private DemoProperties demoProperties;
    @Override
    public void test() {
        System.out.println(demoProperties.getName());
        System.out.println(demoProperties.getAliyun().getSignName());
    }
}
